Weak visibility queries of line segments in simple polygons and polygonal domains
نویسندگان
چکیده
In this paper we consider the problem of computing the weak visibility polygon of any query line segment pq (or WVP(pq)) inside a given polygon P . Our first non-trivial algorithm runs in simple polygons and needs O(n log n) time and O(n) space in the preprocessing phase to report WVP(pq) of any query line segment pq in time O(log n + |WVP(pq)|). We also give an algorithm to compute the weak visibility polygon of a query line segment in a non-simple polygon with h pairwise-disjoint polygonal obstacles with a total of n vertices. Our algorithm needs O(n log n) time and O(n) space in the preprocessing phase and computes WVP(pq) in query time of O(n~ log n + k), in which ~ is an output sensitive parameter of at most min(h, k), and k = O(nh) is the output size. This is the best query-time result on this problem so far.
منابع مشابه
Dynamic algorithms for visibility polygons
We devise dynamic algorithms for the following (weak) visibility polygon computation problems: • Maintaining visibility polygon of a fixed point located interior to simple polygon amid vertex insertions and deletions to simple polygon. • Answering visibility polygon query corresponding to any point located exterior to simple polygon amid vertex insertions and deletions to simple polygon. • Main...
متن کاملWeak Visibility Queries of Line Segments in Simple Polygons
Given a simple polygon P in the plane, we present new algorithms and data structures for computing the weak visibility polygon from any query line segment in P . We build a data structure in O(n) time and O(n) space that can compute the visibility polygon for any query line segment s in O(k log n) time, where k is the size of the visibility polygon of s and n is the number of vertices of P . Al...
متن کاملTouring a Sequence of Line Segments in Polygonal Domain Fences
In this paper, we consider the problem of touring a sequence of line segments in presence of polygonal domain fences. In this problem there is a sequence S = (s = S0, . . . , Sk, Sk+1 = t) in which s and t are respectively start and target points and S1, . . . , Sk are line segments in the plane. Also, we are given a sequence F = (F0, . . . , Fk) of planar polygonal domains called fences such t...
متن کاملVisibility Queries in Simple Polygons and Applications
In this paper we explore some novel aspects of visibility for stationary and moving points inside a simple polygon P . We provide a mechanism for expressing the visibility polygon from a point as the disjoint union of logarithmically many canonical pieces using a quadratic-space data structure. This allows us to report visibility polygons in time proportional to their size, but without the cubi...
متن کاملWeak Visibility of Two Objects in Planar Polygonal Scenes
Determining whether two segments s and t in a planar polygonal scene weakly see each other is a classical problem in computational geometry. In this problem we seek for a segment connecting two points of s and t without intersecting edges of the scene. In planar polygonal scenes, this problem is 3sum-hard and its time complexity is Ω(n) where n is the complexity of the scene. This problem can b...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Int. J. Comput. Math.
دوره 95 شماره
صفحات -
تاریخ انتشار 2018